Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for pooling Unity UI, and automatic pool creation. #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

brettmjohnson
Copy link

Fixes for pooling Unity UI, related to SetParent and RectTransforms.

Also now automatically creates a pool if none found when Spawn() is called. So now Spawn/Recycle a one-to-one with Instantiate/Destroy.

brettmjohnson and others added 4 commits June 18, 2016 09:14
… isn't required for initial setup. And the fallback to normal instantiation is no longer needed and has been removed.

Added a warning for when Recycle gets called but no pool is found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant